package com.my.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.my.entity.TestPaper;
import org.apache.ibatis.annotations.Param;

public interface TestPaperMapper extends BaseMapper<TestPaper> {

    IPage<TestPaper> getPage(IPage<TestPaper> page, @Param("t") TestPaper t);

    int addStudentTestPaper(Long testPaperId);

    IPage<TestPaper> getTestPaperByStudentId(IPage<TestPaper> page, @Param("studentId") Long studentId);

}
